<!-- 所有视图的头部 -->
<?php include 'widget_head.php';?>

<!-- 默认主题 样式表 -->
<link href="/statics/css/default.css" media="all" rel="stylesheet"/>

<style type="text/css">
body{
    background: url(/statics/imgs/bg/5.jpg);
    background-position: 0 -20px;
    background-size: cover;
}
</style>






<body>

<div class="wrapper" id="app">

    <div class="layui-row">
        <ul class="layui-nav" lay-filter="nav" style="text-align: right;">

            <li style="float:left;padding-top:22px">
        <?php if (@gs('student') !== null) {?>
                <span class='stuInfo'>
                    <?=gs('setup')['class_name']?>班_<?=gs('student')['site']?>号_<?=gs('student')['name']?> &nbsp;
                    成绩:<?=gs('student')['task_point']?> &nbsp;
                    积分:<?=gs('student')['game_point']?> &nbsp;
                    <?=gs('student')['role']?>  &nbsp;
                </span>
        <?php }?>
            </li>

            <li class="layui-nav-item" id='menu_index'>
                <a href="/"><i class="layui-icon">&#xe68e;</i> 首页 </a>
            </li>

            <li class="layui-nav-item" id='menu_master'>
                <a href="/student/master"><i class="layui-icon">&#xe756;</i> 高手 </a>
            </li>

            <!-- <li class="layui-nav-item" id='menu_hardCount'>
                <a href="/student/hardCount"><i class="layui-icon">&#xe6b2;</i> 调查</a>
            </li> -->

            <li class="layui-nav-item" id='menu_task'>
                <a href="/student/task"><i class="layui-icon">&#xe655;</i> 课程 </a>
            </li>
            <li class="layui-nav-item" id='menu_record'>
                <a href="/student/record"><i class="layui-icon">&#xe62c;</i> 记录 </a>
            </li>

        <?php if (@gs('setup')['allow_game']) {?>
            <li class="layui-nav-item" id='menu_game'>
                <a href="/student/game"><i class="layui-icon">&#xe609;</i> 游戏 </a>
            </li>
        <?php }?>
            <li class="layui-nav-item" id='menu_login'>
                <a href="/index/login"><i class="layui-icon">&#xe620;</i> 管理 </a>
            </li>
        <?php if (gs('auth')['identity']) {?>
            <li class="layui-nav-item" id='menu_exit'>
                <a href="/index/exit"><i class="layui-icon">&#xe682;</i> 下课 </a>
            </li>
        <?php }?>
        </ul>
    </div>

    <div class="layui-row main">